server {
    listen {{vhost.listen}};
    server_name {{vhost.server_name}};
    location / {
        root /mydata/www/{{vhost.path}};
        index index.html index.htm index.php;
    }
    error_page 500 502 503 504 /50x.html;
    location = /50x.html {
        root /usr/share/nginx/html;
    }
}
